<?php
/**
 * Created by PhpStorm.
 * User: asdf
 * Date: 2021/9/21
 * Time: 15:42
 */

namespace core;


class Waf
{
    private static $rule = '/[^0-9a-zA-Z]/';

    public static function checkinvalid($inpu){
        if (preg_match(self::$rule,$inpu)){
            return true;
        }else{
            return false;
        }
    }
}